package com.xxxx.server.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @Description 找不到页面资源时抛出异常
 * @Author shanxin
 * @Since 2021/6/6 0:55
 */
@ResponseStatus(HttpStatus.NOT_FOUND)
public class UserNotFoundException extends RuntimeException {
    public UserNotFoundException(String message){
        super(message);
        System.out.println("异常信息："+message);

    }
}
